home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / cli / lsort11.lha / LSort / LSort.doc < prev    next >
Text File  |  1994-11-03  |  2KB  |  62 lines

  1.  
  2. *****************************************************************************
  3.  
  4.                      LSort 1.1 (3.11.94) © Konrad Dubiel
  5.  
  6. *****************************************************************************
  7.  
  8.  
  9.                                 INTRODUCTION
  10.                                --------------
  11.  
  12.     LSort is a freeware and may be freely distributed as long as all files
  13. remain unchanged. The author can not be taken responsible for any damage
  14. caused by this program or its improper use.
  15.  
  16.     LSort is a localized Sort command, it uses standard locale.library's
  17. functions for string comparison. It adapts automatically to sorting rules
  18. of preferred language set in Locale preferences. LSort must be run from
  19. Shell only, can be made resident and is able to read files from PIPE:
  20. device. LSort requires Workbench 2.1 or later.
  21.  
  22. Note for Norwegian users:
  23. LSort doesn't sort properly when used with standard Commodore's language
  24. file, which is missing character comparison table. To fix this problem
  25. I've included in this archive corrected file 'norsk.language' which
  26. should be copied to 'LOCALE:Languages' directory of your Workbench disk.
  27. Thanks for Øyvind Falch (oyvindfa@ifi.uio.no) for reporting this.
  28.  
  29. Suggestions and bug-reports please send to:
  30.  
  31. Konrad Dubiel
  32. ul. Bartnicza 12/5
  33. 71-487 Szczecin
  34. Poland
  35. E-mail: banshee@uoo.univ.szczecin.pl
  36.  
  37.  
  38.                                     USAGE
  39.                                    -------
  40.  
  41. Template:  LSort FROM/A,TO/A,COLSTART/K/N,REVERSE/S,NOBLANKS/S
  42.  
  43. FROM       - input file name (to be sorted)
  44. TO         - output file name (after sorting)
  45. COLSTART   - starting column number
  46. REVERSE    - reverse sort direction (Z-A)
  47. NOBLANKS   - skip leading blank characters (spaces, tabs)
  48.  
  49. Examples:
  50.  
  51. LSort FROM file1 TO file2
  52. This command will sort file1 and write result to file2
  53.  
  54. LSort file file COLSTART 10
  55. Sort starting from 10th column and save to the same file
  56.  
  57. LSort file1 file2 REVERSE NOBLANKS
  58. Reverse sorting with leading spaces being skipped from comparison
  59.  
  60. LSort PIPE: PRT:
  61. Read file from PIPE:, sort and print it
  62.